﻿namespace Traffic.Entity;

/// <summary>
/// 预约信息
/// </summary>
public partial class BookingMessage
{
    public int Id { get; set; }

    /// <summary>
    /// 用户ID，对应UserData.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 产品名称
    /// </summary>
    public string? ProductName { get; set; }

    /// <summary>
    /// 用户OpenId
    /// </summary>
    public string? WxOpenId { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string? RealName { get; set; }

    /// <summary>
    /// 电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 预约日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 出发日期
    /// </summary>
    public DateTime? BookingStartDate { get; set; }

    /// <summary>
    /// 返程日期
    /// </summary>
    public DateTime? BookingEndDate { get; set; }

    /// <summary>
    /// 客户备注
    /// </summary>
    public string? Remarks { get; set; }

    /// <summary>
    /// 回访人
    /// </summary>
    public string? Checker { get; set; }

    /// <summary>
    /// 回访日期
    /// </summary>
    public DateTime? CheckDate { get; set; }

    /// <summary>
    /// 回访状态  0：未回访  1：已回访   2：可成交   3：不可成交  4:已成交
    /// </summary>
    public int BookingState { get; set; }

    /// <summary>
    /// 回访备注
    /// </summary>
    public string? VisitRemark { get; set; }

    /// <summary>
    /// 回访历史 yyyy-MM-dd HH:mm+XXX回访;
    /// </summary>
    public string? VisitLog { get; set; }

    /// <summary>
    /// 记录状态  0：作废  1：正常（默认）
    /// </summary>
    public bool Status { get; set; }
}
